﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020005C9 RID: 1481
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class FKFEBAHFGCD : IMessage<FKFEBAHFGCD>, IMessage, IEquatable<FKFEBAHFGCD>, IDeepCloneable<FKFEBAHFGCD>, IBufferMessage
	{
		// Token: 0x170012F4 RID: 4852
		// (get) Token: 0x06004294 RID: 17044 RVA: 0x000B5968 File Offset: 0x000B3B68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<FKFEBAHFGCD> Parser
		{
			get
			{
				return FKFEBAHFGCD._parser;
			}
		}

		// Token: 0x170012F5 RID: 4853
		// (get) Token: 0x06004295 RID: 17045 RVA: 0x000B596F File Offset: 0x000B3B6F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return FKFEBAHFGCDReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170012F6 RID: 4854
		// (get) Token: 0x06004296 RID: 17046 RVA: 0x000B5981 File Offset: 0x000B3B81
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return FKFEBAHFGCD.Descriptor;
			}
		}

		// Token: 0x06004297 RID: 17047 RVA: 0x000B5988 File Offset: 0x000B3B88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FKFEBAHFGCD()
		{
		}

		// Token: 0x06004298 RID: 17048 RVA: 0x000B5990 File Offset: 0x000B3B90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FKFEBAHFGCD(FKFEBAHFGCD other) : this()
		{
			this.id_ = other.id_;
			this.progress_ = other.progress_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06004299 RID: 17049 RVA: 0x000B59C1 File Offset: 0x000B3BC1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FKFEBAHFGCD Clone()
		{
			return new FKFEBAHFGCD(this);
		}

		// Token: 0x170012F7 RID: 4855
		// (get) Token: 0x0600429A RID: 17050 RVA: 0x000B59C9 File Offset: 0x000B3BC9
		// (set) Token: 0x0600429B RID: 17051 RVA: 0x000B59D1 File Offset: 0x000B3BD1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Id
		{
			get
			{
				return this.id_;
			}
			set
			{
				this.id_ = value;
			}
		}

		// Token: 0x170012F8 RID: 4856
		// (get) Token: 0x0600429C RID: 17052 RVA: 0x000B59DA File Offset: 0x000B3BDA
		// (set) Token: 0x0600429D RID: 17053 RVA: 0x000B59E2 File Offset: 0x000B3BE2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Progress
		{
			get
			{
				return this.progress_;
			}
			set
			{
				this.progress_ = value;
			}
		}

		// Token: 0x0600429E RID: 17054 RVA: 0x000B59EB File Offset: 0x000B3BEB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as FKFEBAHFGCD);
		}

		// Token: 0x0600429F RID: 17055 RVA: 0x000B59F9 File Offset: 0x000B3BF9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(FKFEBAHFGCD other)
		{
			return other != null && (other == this || (this.Id == other.Id && this.Progress == other.Progress && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060042A0 RID: 17056 RVA: 0x000B5A38 File Offset: 0x000B3C38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Id != 0U)
			{
				num ^= this.Id.GetHashCode();
			}
			if (this.Progress != 0U)
			{
				num ^= this.Progress.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060042A1 RID: 17057 RVA: 0x000B5A90 File Offset: 0x000B3C90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060042A2 RID: 17058 RVA: 0x000B5A98 File Offset: 0x000B3C98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060042A3 RID: 17059 RVA: 0x000B5AA4 File Offset: 0x000B3CA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Progress != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.Progress);
			}
			if (this.Id != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.Id);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060042A4 RID: 17060 RVA: 0x000B5B00 File Offset: 0x000B3D00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Id != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Id);
			}
			if (this.Progress != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Progress);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060042A5 RID: 17061 RVA: 0x000B5B58 File Offset: 0x000B3D58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(FKFEBAHFGCD other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Id != 0U)
			{
				this.Id = other.Id;
			}
			if (other.Progress != 0U)
			{
				this.Progress = other.Progress;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060042A6 RID: 17062 RVA: 0x000B5BA8 File Offset: 0x000B3DA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060042A7 RID: 17063 RVA: 0x000B5BB4 File Offset: 0x000B3DB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 88U)
				{
					if (num != 96U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Id = input.ReadUInt32();
					}
				}
				else
				{
					this.Progress = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001A19 RID: 6681
		private static readonly MessageParser<FKFEBAHFGCD> _parser = new MessageParser<FKFEBAHFGCD>(() => new FKFEBAHFGCD());

		// Token: 0x04001A1A RID: 6682
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001A1B RID: 6683
		public const int IdFieldNumber = 12;

		// Token: 0x04001A1C RID: 6684
		private uint id_;

		// Token: 0x04001A1D RID: 6685
		public const int ProgressFieldNumber = 11;

		// Token: 0x04001A1E RID: 6686
		private uint progress_;
	}
}
